package com.android.multiplesmart.bean;

import com.google.gson.Gson;

import java.util.List;

public class LaguageAllBean {


    /**
     * success : true
     * resultCode : 0
     * resultInfo : 成功
     * resultEnInfo : success
     * result : [{"languageCode":"sq-AL","languageName":"阿尔巴尼亚语（阿尔巴尼亚）","languageEnName":"Albanian (Albania)","linkCode":"sq","naName":"","icon":""},{"languageCode":"af-ZA","languageName":"南非荷兰语（南非）","languageEnName":"Afrikaans (South Africa)","linkCode":"af","naName":"","icon":""},{"languageCode":"am-ET","languageName":"阿姆哈拉语(埃塞俄比亚)","languageEnName":"Amharic (Ethiopia)","linkCode":"am","naName":"","icon":""},{"languageCode":"ar-AE","languageName":"阿拉伯语（阿拉伯联合酋长国）","languageEnName":"Arabic (United Arab Emirates)","linkCode":"ar","naName":"","icon":""},{"languageCode":"ar-SA","languageName":"阿拉伯语(沙特阿拉伯)","languageEnName":"Arabic (Saudi Arabia)","linkCode":"ar","naName":"","icon":""},{"languageCode":"az-AZ","languageName":"阿塞拜疆语(拉丁语，阿塞拜疆)","languageEnName":"Azerbaijani (Latin, Azerbaijan)","linkCode":"az","naName":"","icon":""},{"languageCode":"et-EE","languageName":"爱沙尼亚语(爱沙尼亚)","languageEnName":"Estonian (Estonia)","linkCode":"et","naName":"","icon":""},{"languageCode":"pl-PL","languageName":"波兰语（波兰）","languageEnName":"Polish (Poland)","linkCode":"pl","naName":"","icon":""},{"languageCode":"bg-BG","languageName":"保加利亚语(保加利亚)","languageEnName":"Bulgarian (Bulgaria)","linkCode":"bg","naName":"","icon":""},{"languageCode":"bs-BA","languageName":"波斯尼亚语（波斯尼亚和黑塞哥维那）","languageEnName":"Bosnian (Bosnia and Herzegovina)","linkCode":"bs","naName":"","icon":""},{"languageCode":"eu-ES","languageName":"巴斯克语","languageEnName":"Basque","linkCode":"eu","naName":"","icon":""},{"languageCode":"fa-IR","languageName":"波斯语（伊朗）","languageEnName":"Persian (Iran)","linkCode":"fa","naName":"","icon":""},{"languageCode":"is-IS","languageName":"冰岛语(冰岛)","languageEnName":"Icelandic (Iceland)","linkCode":"is","naName":"","icon":""},{"languageCode":"da-DK","languageName":"丹麦语（丹麦）","languageEnName":"Danish (Denmark)","linkCode":"da","naName":"","icon":""},{"languageCode":"de-DE","languageName":"德语（德国）","languageEnName":"German (Germany)","linkCode":"de","naName":"","icon":""},{"languageCode":"ru-RU","languageName":"俄语（俄罗斯）","languageEnName":"Russian (Russia)","linkCode":"ru","naName":"","icon":""},{"languageCode":"fi-FI","languageName":"芬兰语（芬兰）","languageEnName":"Finnish (Finland)","linkCode":"fi","naName":"","icon":""},{"languageCode":"fil-PH","languageName":"菲律宾语（菲律宾）","languageEnName":"Filipino (Philippines)","linkCode":"fi","naName":"","icon":""},{"languageCode":"fr-FR","languageName":"法语（法国）","languageEnName":"French (France)","linkCode":"fr","naName":"","icon":""},{"languageCode":"gu-IN","languageName":"古吉拉特语（印度）","languageEnName":"Gujarati (India)","linkCode":"gu","naName":"","icon":""},{"languageCode":"ka-GE","languageName":"格鲁吉亚语（格鲁吉亚）","languageEnName":"Georgian (Georgia)","linkCode":"ka","naName":"","icon":""},{"languageCode":"nl-NL","languageName":"荷兰语（荷兰）","languageEnName":"Dutch (Netherlands)","linkCode":"nl","naName":"","icon":""},{"languageCode":"kk-KZ","languageName":"哈萨克语（哈萨克斯坦）","languageEnName":"Kazakh (Kazakhstan)","linkCode":"kk","naName":"","icon":""},{"languageCode":"ko-KR","languageName":"韩语(韩国)","languageEnName":"Korean (Korea)","linkCode":"ko","naName":"","icon":""},{"languageCode":"ga-IE","languageName":"爱尔兰语（爱尔兰）","languageEnName":"Irish (Ireland)","linkCode":"ga","naName":"","icon":""},{"languageCode":"ca-ES","languageName":"加泰罗尼亚语(西班牙)","languageEnName":"Catalan","linkCode":"ca","naName":"","icon":""},{"languageCode":"cs-CZ","languageName":"捷克语(捷克)","languageEnName":"Czech (Czechia)","linkCode":"cs","naName":"","icon":""},{"languageCode":"gl-ES","languageName":"加利西亚语","languageEnName":"Galician","linkCode":"gl","naName":"","icon":""},{"languageCode":"km-KH","languageName":"柬埔寨语(高棉语)","languageEnName":"Cambodia(Khmer)","linkCode":"km","naName":"","icon":""},{"languageCode":"hr-HR","languageName":"克罗地亚语（克罗地亚）","languageEnName":"Croatian (Croatia)","linkCode":"hr","naName":"","icon":""},{"languageCode":"kn-IN","languageName":"卡纳达语（印度）","languageEnName":"Kannada (India)","linkCode":"kn","naName":"","icon":""},{"languageCode":"lv-LV","languageName":"拉脱维亚语(拉脱维亚)","languageEnName":"Latvian (Latvia)","linkCode":"lv","naName":"","icon":""},{"languageCode":"ro-RO","languageName":"罗马尼亚语（罗马尼亚）","languageEnName":"Romanian (Romania)","linkCode":"ro","naName":"","icon":""},{"languageCode":"lo-LA","languageName":"老挝语(老挝)","languageEnName":"Lao (Laos)","linkCode":"lo","naName":"","icon":""},{"languageCode":"lt-LT","languageName":"立陶宛语(立陶宛)","languageEnName":"Lithuanian (Lithuania)","linkCode":"lt","naName":"","icon":""},{"languageCode":"mk-MK","languageName":"马其顿语（北马其顿）","languageEnName":"Macedonian (North Macedonia)","linkCode":"mk","naName":"","icon":""},{"languageCode":"ml-IN","languageName":"马拉雅拉姆语（印度）","languageEnName":"Malayalam (India)","linkCode":"ml","naName":"","icon":""},{"languageCode":"mn-MN","languageName":"蒙古语（蒙古）","languageEnName":"Mongolian (Mongolia)","linkCode":"mn","naName":"","icon":""},{"languageCode":"mr-IN","languageName":"马拉地语（印度）","languageEnName":"Marathi (India)","linkCode":"mr","naName":"","icon":""},{"languageCode":"ms-MY","languageName":"马来语（马来西亚）","languageEnName":"Malay (Malaysia)","linkCode":"ms","naName":"","icon":""},{"languageCode":"mt-MT","languageName":"马耳他语（马耳他）","languageEnName":"Maltese (Malta)","linkCode":"mt","naName":"","icon":""},{"languageCode":"my-MM","languageName":"缅甸语(缅甸)","languageEnName":"Burmese (Myanmar)","linkCode":"my","naName":"","icon":""},{"languageCode":"bn-IN","languageName":"孟加拉语（印度）","languageEnName":"Bengali (India)","linkCode":"bn","naName":"","icon":""},{"languageCode":"nb-NO","languageName":"挪威语（挪威）","languageEnName":"Norwegian Bokmål (Norway)","linkCode":"nb","naName":"","icon":""},{"languageCode":"ne-NP","languageName":"尼泊尔语（尼泊尔）","languageEnName":"Nepali (Nepal)","linkCode":"ne","naName":"","icon":""},{"languageCode":"ps-AF","languageName":"普什图语（阿富汗）","languageEnName":"Pashto (Afghanistan)","linkCode":"ps","naName":"","icon":""},{"languageCode":"pt-PT","languageName":"葡萄牙语(葡萄牙)","languageEnName":"Portuguese (Portugal)","linkCode":"pt","naName":"","icon":""},{"languageCode":"pa-IN","languageName":"旁遮普语(印度)","languageEnName":"Punjabi (India)","linkCode":"pa","naName":"","icon":""},{"languageCode":"sv-SE","languageName":"瑞典语（瑞典）","languageEnName":"Swedish (Sweden)","linkCode":"sv","naName":"","icon":""},{"languageCode":"ja-JP","languageName":"日语（日本）","languageEnName":"Japanese (Japan)","linkCode":"ja","naName":"","icon":""},{"languageCode":"si-LK","languageName":"僧伽罗语(斯里兰卡)","languageEnName":"Sinhala (Sri Lanka)","linkCode":"si","naName":"","icon":""},{"languageCode":"sk-SK","languageName":"斯洛伐克语（斯洛伐克）","languageEnName":"Slovak (Slovakia)","linkCode":"sk","naName":"","icon":""},{"languageCode":"sl-SI","languageName":"斯洛文尼亚语(斯洛文尼亚)","languageEnName":"Slovenian (Slovenia)","linkCode":"sl","naName":"","icon":""},{"languageCode":"so-SO","languageName":"索马里语（索马里）","languageEnName":"Somali (Somalia)","linkCode":"so","naName":"","icon":""},{"languageCode":"sr-RS","languageName":"塞尔维亚语(西里尔文，塞尔维亚)","languageEnName":"Serbian (Cyrillic, Serbia)","linkCode":"sr","naName":"","icon":""},{"languageCode":"sw-KE","languageName":"斯瓦希里语（肯尼亚）","languageEnName":"Swahili (Kenya)","linkCode":"sw","naName":"","icon":""},{"languageCode":"sw-TZ","languageName":"斯瓦希里语（坦桑尼亚）","languageEnName":"Swahili (Tanzania)","linkCode":"sw","naName":"","icon":""},{"languageCode":"ta-IN","languageName":"泰米尔语（印度）","languageEnName":"Tamil (India)","linkCode":"ta","naName":"","icon":""},{"languageCode":"te-IN","languageName":"泰卢固语（印度）","languageEnName":"Telugu (India)","linkCode":"te","naName":"","icon":""},{"languageCode":"th-TH","languageName":"泰语（泰国）","languageEnName":"Thai (Thailand)","linkCode":"th","naName":"","icon":""},{"languageCode":"tr-TR","languageName":"土耳其语(土耳其）","languageEnName":"Turkish (Türkiye)","linkCode":"tr","naName":"","icon":""},{"languageCode":"uk-UA","languageName":"乌克兰语(乌克兰)","languageEnName":"Ukrainian (Ukraine)","linkCode":"uk","naName":"","icon":""},{"languageCode":"uz-UZ","languageName":"乌兹别克语(拉丁语，乌兹别克斯坦)","languageEnName":"Uzbek (Latin, Uzbekistan)","linkCode":"uz","naName":"","icon":""},{"languageCode":"cy-GB","languageName":"威尔士语（英国）","languageEnName":"Welsh (United Kingdom)","linkCode":"cy","naName":"","icon":""},{"languageCode":"ur-IN","languageName":"乌尔都语(印度）","languageEnName":"Urdu (India)","linkCode":"ur","naName":"","icon":""},{"languageCode":"es-ES","languageName":"西班牙语(西班牙)","languageEnName":"Spanish (Spain)","linkCode":"es","naName":"","icon":""},{"languageCode":"el-GR","languageName":"希腊语(希腊)","languageEnName":"Greek (Greece)","linkCode":"el","naName":"","icon":""},{"languageCode":"he-IL","languageName":"希伯来语（以色列）","languageEnName":"Hebrew (Israel)","linkCode":"he","naName":"","icon":""},{"languageCode":"hu-HU","languageName":"匈牙利语(匈牙利)","languageEnName":"Hungarian (Hungary)","linkCode":"hu","naName":"","icon":""},{"languageCode":"en-US","languageName":"英语（美国）","languageEnName":"English (United States)","linkCode":"en","naName":"","icon":""},{"languageCode":"vi-VN","languageName":"越南语(越南)","languageEnName":"Vietnamese (Vietnam)","linkCode":"vi","naName":"","icon":""},{"languageCode":"en-GB","languageName":"英语（英国）","languageEnName":"English (United Kingdom)","linkCode":"en","naName":"","icon":""},{"languageCode":"hi-IN","languageName":"印地语（印度）","languageEnName":"Hindi (India)","linkCode":"hi","naName":"","icon":""},{"languageCode":"hy-AM","languageName":"亚美尼亚语（亚美尼亚）","languageEnName":"Armenian (Armenia)","linkCode":"hy","naName":"","icon":""},{"languageCode":"id-ID","languageName":"印度尼西亚语(印度尼西亚)","languageEnName":"Indonesian (Indonesia)","linkCode":"id","naName":"","icon":""},{"languageCode":"it-IT","languageName":"意大利语（意大利）","languageEnName":"Italian (Italy)","linkCode":"it","naName":"","icon":""},{"languageCode":"yue-CN","languageName":"中文(粤语，简体）","languageEnName":"Chinese (Cantonese, Simplified)","linkCode":"zh-Hans","naName":"","icon":""},{"languageCode":"zh-CN","languageName":"中文","languageEnName":"Chinese","linkCode":"zh-Hans","naName":"","icon":""},{"languageCode":"zu-ZA","languageName":"祖鲁语(南非）","languageEnName":"Zulu (South Africa)","linkCode":"zu","naName":"","icon":""},{"languageCode":"jv-ID","languageName":"爪哇语(拉丁语、印度尼西亚)","languageEnName":"Javanese (Latin, Indonesia)","linkCode":"jv","naName":"","icon":""}]
     * timestamp : 1714290973811
     */

    private boolean success;
    private int resultCode;
    private String resultInfo;
    private String resultEnInfo;
    private long timestamp;
    private List<ResultBean> result;

    public static LaguageAllBean objectFromData(String str) {

        return new Gson().fromJson(str, LaguageAllBean.class);
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultInfo() {
        return resultInfo;
    }

    public void setResultInfo(String resultInfo) {
        this.resultInfo = resultInfo;
    }

    public String getResultEnInfo() {
        return resultEnInfo;
    }

    public void setResultEnInfo(String resultEnInfo) {
        this.resultEnInfo = resultEnInfo;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * languageCode : sq-AL
         * languageName : 阿尔巴尼亚语（阿尔巴尼亚）
         * languageEnName : Albanian (Albania)
         * linkCode : sq
         * naName :
         * icon :
         */

        private String languageCode;
        private String languageName;
        private String languageEnName;
        private String linkCode;
        private String naName;
        private String icon;

        public static ResultBean objectFromData(String str) {

            return new Gson().fromJson(str, ResultBean.class);
        }

        public String getLanguageCode() {
            return languageCode;
        }

        public void setLanguageCode(String languageCode) {
            this.languageCode = languageCode;
        }

        public String getLanguageName() {
            return languageName;
        }

        public void setLanguageName(String languageName) {
            this.languageName = languageName;
        }

        public String getLanguageEnName() {
            return languageEnName;
        }

        public void setLanguageEnName(String languageEnName) {
            this.languageEnName = languageEnName;
        }

        public String getLinkCode() {
            return linkCode;
        }

        public void setLinkCode(String linkCode) {
            this.linkCode = linkCode;
        }

        public String getNaName() {
            return naName;
        }

        public void setNaName(String naName) {
            this.naName = naName;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }
    }
}
